<table width=100%>
	<tr>
{foreach from=$boats item=boat name=boat}
	<td width=50%>
	   <table style="margin-right:50px;">
		  <tr valign=top>
			 <td style="border: 7px solid #EEEEEE; padding: 0px; margin-right:16px;">
			   <a href="boat.php?id={$boat.id}">
				  <img src="{thumbnail width=130 height=100}{$boat.image01}{/thumbnail}" border=0 />
				</a>
			 </td>
			 <td><img src="img/0.gif" border=0 width=12 height=1></td>
			 <td valign=top style=" white-space: nowrap;">
				<a href="boat.php?id={$boat.id}" style="font-size: 14px; padding:3px 5px 3px 5px; color: #FFF; background-color:#74cce5; text-decoration:none; font-weight:bold;">
					{$boat.name}
				</a>
				<br><br>
				<a class="details" href="boat.php?id={$boat.id}"></a>
			 </td>
		  </tr>
		</table>
	</td>
	
	{if $smarty.foreach.boat.iteration % 2 == 0}
	         </tr>
			   <tr>
	{/if}
{/foreach}

	{section name=tds start=$smarty.foreach.boat.total%2 loop=2}
		<td></td>
	{/section}
		
	</tr>
</table>